DataSource for Entity Framework in WPF
C1.LiveLinq Namespace / IndexedQueryExtensions Class / Where Method / Where<T>(IIndexedSource<T>,Expression<Func<T,Boolean>>) Method
The type of the elements of source.
An C1.LiveLinq.Indexing.IIndexedSource<T> to filter.
A function to test each element for a condition.

In This Topic
    Where<T>(IIndexedSource<T>,Expression<Func<T,Boolean>>) Method
    In This Topic
    Filters the source collection based on a predicate.
    Syntax
    'Declaration
     
    Public Overloads Shared Function Where(Of T)( _
       ByVal source As IIndexedSource(Of T), _
       ByVal predicate As Expression(Of Func(Of T,Boolean)) _
    ) As IIndexedSource(Of T)

    Parameters

    source
    An C1.LiveLinq.Indexing.IIndexedSource<T> to filter.
    predicate
    A function to test each element for a condition.

    Type Parameters

    T
    The type of the elements of source.

    Return Value

    An C1.LiveLinq.Indexing.IIndexedSource<T> that contains elements from the input collection that satisfy the condition.
    Remarks
    If an index is used to optimized performance of this operation, the resulting collection may not be in the same order as the source collection. If you need to preserve the order, use the other overload of the Where operator. It will still be optimized, albeit to a lesser degree.
    See Also